package com.chapter2;

public class Instance {

    private static Instance instance=new Instance();

    private Instance(){

    }

    private static Instance getInstance(){
        return instance;
    }

    public static void main(String[] args) {
        Instance instance=new Instance();
    }

}
